/* 按照设计稿，最大宽度为1280 */
@media screen and (min-width:1280px){
  .container{
    width: 1280px;
  }
}
body {
  background-color: #f5f5f5;
}
.container {
  background-color: #fff;
}
header {
  padding-left: 0!important;
}
.logo {
  background-color: #429ad9;
}
.logo img {
  /* 产生缩放 */
  /* width: 100%; */
  /* 为适应小屏不设置缩放 */
  display: block;
  max-width: 100%;
  /* 图片居中 */
  margin: 0 auto;
}
.logo span {
  display: block;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
/* 小屏幕 超小屏幕时，nav里面的li浮动起来  并且宽度为20% */
@media screen and (max-width:991px){
  .nav li {
    float: left;
    width: 20%;
  }
  article {
    margin-top: 10px;
  }
}
/* 超小屏幕下 字体变小 上边距*/
@media screen and (max-width:767px){
  .nav li a {
    font-size: 10px;
    padding-left: 2px;
  }
  /* 当我们处于超小屏幕 第一个li 宽度为100% 剩下的li 各50% */
  .news ul li:nth-child(1) {
    width: 100%;
  }
  .news ul li {
    width: 50%;
  }
  /* 文章标题改小 */
  .publish h1 {
    font-size: 14px!important;
  }
}
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
a {
  color: #666;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
.nav {
  background-color: #eee;
  border: 1px solid #ccc;
}
.nav a {
  display: block;
  padding-left: 30px;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
}
.nav a:hover {
  background-color: #fff;
  color: #333;
}
.nav .nav-icon::before {
  vertical-align: middle;
  padding-right: 5px;
}

.news li {
  width: 25%;
  height: 128px;
  float: left;
  padding-right: 10px;
  margin-bottom: 10px;
}
.news li:nth-child(1) {
  width: 50%;
  height: 266px;
}
.news li:nth-child(1) a p {
  line-height: 41px;
  font-size: 20px;
  padding: 0 10px;
}
.news li a{
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  background-color: #ccc;
}
.news li a img {
  height: 100%;
  width: 100%;
}

.news li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 41px;
  margin: 0;
  /* line-height: 41px; */
  padding: 5px 10px;
  box-sizing: border-box;
  background: rgba(0,0,0,.5);
  font-size: 12px;
  color: #fff;
}
.publish {
  border-top: 1px solid #ccc;
}
.publish .row {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.pic {
  margin-top: 10px;
}
.publish img {
  width: 100%;
 
}
/* .banner {
  display: block;
  
} */
.banner img {
  width: 100%;
}
.hot {
  display: block;
  margin-top: 20px;
  padding: 0 20px 20px;
  border: 1px solid #ccc;
}
.hot span {
  border-radius: 0;
}